﻿using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Web.Generics;
using BolaoDNA.DomainModel;

namespace BolaoDNA.WebMvc.Areas.Admin.ViewModels
{
	public partial class JogoViewModel : GenericViewModel<Jogo>
	{
		public SelectList EquipeList {
			get { return base.SelectLists["Equipe"]; }
			set { base.SelectLists["Equipe"] = value; }
		}
		public Int32 EquipeCasa_ID {
            get { return base.Instance.EquipeCasa.ID; }
            set { base.SelectListValues["EquipeCasa"] = base.Instance.EquipeCasa.ID = value; }
        }
		public Int32 EquipeVisitante_ID {
            get { return base.Instance.EquipeVisitante.ID; }
            set { base.SelectListValues["EquipeVisitante"] = base.Instance.EquipeVisitante.ID = value; }
        }
		public SelectList CompeticaoList {
			get { return base.SelectLists["Competicao"]; }
			set { base.SelectLists["Competicao"] = value; }
		}
		public Int32 Competicao_ID {
            get { return base.Instance.Competicao.ID; }
            set { base.SelectListValues["Competicao"] = base.Instance.Competicao.ID = value; }
        }
	}
}
